package cn.kgc.mes.workorder.domain;


import com.baomidou.mybatisplus.annotation.TableField;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class MdProductBom {

  private long bomId;
  private long itemId;
  private long bomItemId;
  private String bomItemCode;
  private String bomItemName;
  private String bomItemSpec;
  private String unitOfMeasure;
  private String itemOrProduct;
  private double quantity;
  private String enableFlag;
  private String remark;
  private String attr1;
  private String attr2;
  private long attr3;
  private long attr4;
  private String createBy;
  private LocalDateTime createTime;
  private String updateBy;
  private LocalDateTime updateTime;
  /** 在库数量 */
@TableField(exist = false)
  private BigDecimal quantityOnhand;

  public BigDecimal getQuantityOnhand() {
    return quantityOnhand;
  }

  public void setQuantityOnhand(BigDecimal quantityOnhand) {
    this.quantityOnhand = quantityOnhand;
  }

  public long getBomId() {
    return bomId;
  }

  public void setBomId(long bomId) {
    this.bomId = bomId;
  }


  public long getItemId() {
    return itemId;
  }

  public void setItemId(long itemId) {
    this.itemId = itemId;
  }


  public long getBomItemId() {
    return bomItemId;
  }

  public void setBomItemId(long bomItemId) {
    this.bomItemId = bomItemId;
  }


  public String getBomItemCode() {
    return bomItemCode;
  }

  public void setBomItemCode(String bomItemCode) {
    this.bomItemCode = bomItemCode;
  }


  public String getBomItemName() {
    return bomItemName;
  }

  public void setBomItemName(String bomItemName) {
    this.bomItemName = bomItemName;
  }


  public String getBomItemSpec() {
    return bomItemSpec;
  }

  public void setBomItemSpec(String bomItemSpec) {
    this.bomItemSpec = bomItemSpec;
  }


  public String getUnitOfMeasure() {
    return unitOfMeasure;
  }

  public void setUnitOfMeasure(String unitOfMeasure) {
    this.unitOfMeasure = unitOfMeasure;
  }


  public String getItemOrProduct() {
    return itemOrProduct;
  }

  public void setItemOrProduct(String itemOrProduct) {
    this.itemOrProduct = itemOrProduct;
  }


  public double getQuantity() {
    return quantity;
  }

  public void setQuantity(double quantity) {
    this.quantity = quantity;
  }


  public String getEnableFlag() {
    return enableFlag;
  }

  public void setEnableFlag(String enableFlag) {
    this.enableFlag = enableFlag;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


  public String getAttr1() {
    return attr1;
  }

  public void setAttr1(String attr1) {
    this.attr1 = attr1;
  }


  public String getAttr2() {
    return attr2;
  }

  public void setAttr2(String attr2) {
    this.attr2 = attr2;
  }


  public long getAttr3() {
    return attr3;
  }

  public void setAttr3(long attr3) {
    this.attr3 = attr3;
  }


  public long getAttr4() {
    return attr4;
  }

  public void setAttr4(long attr4) {
    this.attr4 = attr4;
  }


  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }


  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }


  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

}
